import request from '../utils/request'

export function getCount(uid) {
    return request({
        url: '/user/follow/count',
        method: 'get',
        params: {
            uid : uid
        }
    })
}

export function isFollow(uid, followUid) {
    return request({
        url: '/user/follow/isFollow',
        method: 'get',
        params: {
            uid : uid,
            followUid : followUid
        }
    })
}

export function followSomebody(followUid) {
    return request({
        url: '/user/follow/follow',
        method: 'post',
        params: {
            followUid : followUid
        }
    })
}
